package constant

import "time"

const (
	USER_STATUS_DRAFT  = 0
	USER_STATUS_USING  = 1
	USER_STATUS_FREESE = 2
	USER_STATUS_DELETE = 3
)

const (
	USER_ROLE_DRAFT  = 0
	USER_ROLE_USING  = 1
	USER_ROLE_FREESE = 2
	USER_ROLE_DELETE = 3
)

const (
	NODE_STATUS_DRAFT  = 0
	NODE_STATUS_USING  = 1
	NODE_STATUS_FREESE = 2
	NODE_STATUS_DELETE = 3
)

const (
	NODE_MONITOR_STATUS_RUNNING  = 1
	NODE_MONITOR_STATUS_WARNINGL = 2
	NODE_MONITOR_STATUS_FATAL    = 3
)

var (
	DEFAULT_LOCATION = time.FixedZone("", 8*3600)
)

var (
	LOG_LEVEL_CRIT  = "CRIT"
	LOG_LEVEL_ERROR = "ERROR"
	LOG_LEVEL_WARN  = "WARN"
	LOG_LEVEL_INFO  = "INFO"
	LOG_LEVEL_DEBUG = "DEBUG"
	LOG_LEVEL_TRACE = "TRACE"
)

var (
	NODE_SYNC_MODE_FAST = "fast"
	NODE_SYNC_MODE_FULL = "full"
)

const (
	DATE_FORMAT           = "2006-01-02 15:04:05"
	DATE_DAY_FORMAT       = "2006-01-02"
	DATE_DAY_VALUE_FORMAT = "20060102"
	DATE_MINUTE_FORMAT    = "200601021504"
	DATE_SECOND_FORMAT    = "20060102150405"
	DATE_HOUR_MINUTE      = "15:04"
)

const (
	DEFAULT_PASSWORD = "plat_on123"
)
